class ChangeAmountToCreditDebit < ActiveRecord::Migration
  def self.up
    remove_column :entries, :amount
    add_column :entries, :debit, :integer, :default => 0
    add_column :entries, :credit, :integer, :default => 0
  end

  def self.down
    raise IrreversibleMigration
  end
end
